package com.sgu6.sgu6_machine.config;

import java.io.Serializable;

public class MotorConfig implements Serializable {
    private String name;
    private int gap;//下次启动间隔
    private int times;//次数
    private int count;//完成次数
    private int launcherTime;//电机启动时间

    public MotorConfig(String name, int gap, int times, int count, int launcherTime) {
        this.name = name;
        this.gap = gap;
        this.times = times;
        this.count = count;
        this.launcherTime = launcherTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGap() {
        return gap;
    }

    public void setGap(int gap) {
        this.gap = gap;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }


    public int getLauncherTime() {
        return launcherTime;
    }

    public void setLauncherTime(int launcherTime) {
        this.launcherTime = launcherTime;
    }

}
